﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ApartmentGroupLine.ascx.cs"
    Inherits="blackhouse.StareKino.Web.Modules.ApartmentGroupLine" %>
<%@ Register Src="~/Modules/ApartmentDetailsModule.ascx" TagName="ApartmentDetailsModule" TagPrefix="blackhouse" %>
<%@ Register Assembly="blackhouse.Aparts.Web" Namespace="blackhouse.Aparts.Web.Modules"
    TagPrefix="blackhouse" %>
<%@ Register Namespace="blackhouse.WebNemo.Web.Controls" Assembly="blackhouse.WebNemo.Web" TagPrefix="nemo" %>
<asp:Panel runat="server" ID="pnlWrapper" CssClass="apartmentItem">

    <div class="blueStartBox">
        <div class="sw-border-left"></div>
        <asp:Image runat="server" ID="imgMainPhoto" CssClass="mainPhoto" />
        <div class="middleBox">
            <div class="name">
                <h2>
                    <asp:Literal runat="server" ID="ltlApartmentName" /></h2>
                <div class="stars">
                    <asp:Panel CssClass="starsInner" ID="pnlStars" runat="server">
                         gwiazdek
                    </asp:Panel>
                </div>
            </div>
            <div class="apartment-group">
                Typ apartamentu: <asp:Literal runat="server" ID="ltlApartmentGroup" />
            </div>
            
            <p class="description">
                <asp:Literal runat="server" ID="lblDescription"></asp:Literal>
            </p>
            <p class="location">
                <asp:Literal runat="server" ID="ltlActors" />
                <%--<asp:HyperLink runat="server" ID="lnkToPopupMap" CssClass="popupLink popupMap" Text="<%$Resources:Aparts,showMap %>"></asp:HyperLink>
                <asp:HyperLink runat="server" ID="lnkToPopupScheme" CssClass="popupLink popupScheme" Text="<%$Resources:Aparts,showSheme %>"></asp:HyperLink>--%>
            </p>
        </div>
        <div class="rightBox">
            <blackhouse:ApartmentDetailsModule runat="server" ID="detailsTable" />
            <div class="cleaner"></div>
        </div>
        <div class="cleaner"></div>
    </div>
    <asp:Panel runat="server" ID="pnlActionLinks" CssClass="apartmentAdminLinks" Visible="false">
        <ul>
            <li><span class="ico"></span>
                <nemo:LinkToEdit ID="lnkEditApartmentGroup" runat="server" GroupSysName="TYP_APARTAMENTU" OpenAsPopup="false">
                    Edytuj apartament</nemo:LinkToEdit>
            </li>
            <li><span class="ico"></span>
                <nemo:LinkToEdit ID="lnkEditApartmentGroupShare" runat="server" OpenAsPopup="false">Edytuj wspólne dane: <b>{0}</b></nemo:LinkToEdit>
            </li>
        </ul>
    </asp:Panel>
    <div class="apartmentLinks">
        <asp:HyperLink runat="server" ID="lnkFromDescription" CssClass="link openApartment"><%=GetGlobalResourceObject("Apartments", "readFullDesc")%> ></asp:HyperLink>
        <asp:HyperLink runat="server" ID="lnkBook" Visible="false" CssClass="link"><%=GetGlobalResourceObject("Reservation", "book")%></asp:HyperLink>
        <asp:HyperLink runat="server" ID="lnkCheck" Visible="false" CssClass="link checkAvability"><%=GetGlobalResourceObject("Reservation", "checkAvability")%></asp:HyperLink>
    </div>
    <div class="cleaner"></div>
</asp:Panel>
